package com.dyava.commons.clock;

import com.alibaba.fastjson.JSON;

/**
 * Created by jjliu on 2020/4/16.
 */
public class DemoHandle implements ClockHandle<DemoHandle.Param> {
    @Override
    public void clock(Param param) {
        System.out.println("####################"+JSON.toJSONString(param));
    }

    public static class Param{
        String name;
        int num;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }
    }





}
